{* Smarty *}
{* This is the footer at the bottom of most pages. *}
  <hr/>
{if basename($smarty.server.SCRIPT_NAME) == 'logout.php'}
  <a href="index.php">Home</a>
{else}
  <a href="index.php">Home</a> 
{if isset($session_username) }
  | You are logged in as “<tt>{$session_username}</tt>”
{/if}
  | <a href="logout.php">Log out</a>
{/if}
